package com.allwees.bs.module.oms.dao;

import com.allwees.bs.module.oms.entity.AccountTransit;
import com.allwees.core.dao.mybatis.dao.BaseDao;
import org.apache.ibatis.annotations.Update;

import java.util.Date;

public interface AccountTransitDao extends BaseDao<AccountTransit> {

    @Update({"UPDATE account_transit set is_do = 1, updated_at= #{date} WHERE id = #{id}"})
    boolean setIsDoById(Date date, Integer id);
}
